/*eslint-disable */
import { createRouter, createWebHistory } from 'vue-router';
import Main from "@/components/Main.vue"
import nav from "@/components/Nav.vue"
import search from "@/components/search.vue"
import jersey from "@/components/Jersey.vue"
import config from "@/components/Config.vue"
import home from "@/components/Home.vue"

const routes = [
    {
        path: '/',
        redirect: "/main"
    },
    {
        path: "/main",
        components: {
            default: Main,
            nav: nav,
            search: search,
            home: home,
            jersey: jersey,
            config: config,

        }
    }
];

const router = createRouter({
    mode: 'hash',
    history: createWebHistory(),
    routes,
});

export default router;
